/*
* Copyright 2016 Yonyou Auto Information Technology（Shanghai） Co., Ltd. All Rights Reserved.
*
* This software is published under the terms of the YONYOU Software
* License version 1.0, a copy of which has been included with this
* distribution in the LICENSE.txt file.
*
* @Project Name : marketing-common
*
* @File name : AccessTokenDto.java
*
* @Author : WangHuicheng
*
* @Date : 2016年12月15日
*
----------------------------------------------------------------------------------
*     Date       Who       Version     Comments
* 1. 2016年12月15日    WangHuicheng    1.0
*
*
*
*
----------------------------------------------------------------------------------
*/
	
package org.marketing.common.dto.user;

import java.io.Serializable;
import java.util.Date;


/**
* DealerApp用户登录tokenDTO
* @author WangHuicheng
* @date 2016年12月15日
*/

public class AccessTokenDto implements Serializable {
    
    
    private static final long serialVersionUID = -431291747894116429L;
    /**
     * DealerApp用户登录TOKEN主键
     */
    private Long dealerappLoginTokenId;
    /**
     * DealerApp登录用户ID
     */
    private Long usersId;
    /**
     * taoken值
     */
    private String accessToken;
    
    /**
     * 发生日期
     */
    private Date expireDate;
    
    private Long expire;

    
    /**
     * @return the dealerappLoginTokenId
     */
    public Long getDealerappLoginTokenId() {
        return dealerappLoginTokenId;
    }

    
    /**
     * @param dealerappLoginTokenId the dealerappLoginTokenId to set
     */
    public void setDealerappLoginTokenId(Long dealerappLoginTokenId) {
        this.dealerappLoginTokenId = dealerappLoginTokenId;
    }

    
    /**
     * @return the usersId
     */
    public Long getUsersId() {
        return usersId;
    }

    
    /**
     * @param usersId the usersId to set
     */
    public void setUsersId(Long usersId) {
        this.usersId = usersId;
    }

    
    /**
     * @return the accessToken
     */
    public String getAccessToken() {
        return accessToken;
    }

    
    /**
     * @param accessToken the accessToken to set
     */
    public void setAccessToken(String accessToken) {
        this.accessToken = accessToken;
    }

    
    /**
     * @return the expireDate
     */
    public Date getExpireDate() {
        return expireDate;
    }

    
    /**
     * @param expireDate the expireDate to set
     */
    public void setExpireDate(Date expireDate) {
        this.expireDate = expireDate;
    }


    
    /**
     * @return the expire
     */
    public Long getExpire() {
        return expire;
    }


    
    /**
     * @param expire the expire to set
     */
    public void setExpire(Long expire) {
        this.expire = expire;
    }
    
    public AccessTokenDto() {
        super();
    }
    
    public AccessTokenDto(String accessToken, Long expire) {
        super();
        this.accessToken = accessToken;
        this.expire = expire;
    }
    

}
